package org.geekbang.work9;

import java.util.EventObject;

/**
 * 分布式事件.
 *
 * @author leo
 * @date 2021/8/29
 * @since 1.0.0
 */
public class DistributedEventObject extends EventObject {
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public DistributedEventObject(Object source) {
        super(source);
    }

    public boolean isDistributed(){
        return true;
    }
}
